import {get,post,postform,deletefn,put} from './http';

//接口
//教职工会员中心---视频管理
//获取视频分页列表渲染（全部、通过）
//export const videoList = (params) => get(`jeecg-boot/member/video/list`,params);
//登录
export const loginUser = (params) => post(`login`,params);
//查询所有用户
export const userList = (params) => get(`user/group`,params);
//新增用户
export const addUser = (params) => post(`user/add`,params);
//发送验证码
export const sendCode = (params) => post(`code`,params);
//找回密码
export const findPwd = (params) => post(`password`,params);
//修改用户信息
export const updatePwd = (params) => post(`user/update`,params);
//批发邮件
export const sendEmail = (params) => post(`email`,params);
//删除用户
export const deleteUser = (params) => deletefn(`user/delete?id=`+params);
//辑视频
//export const editVideo = (params) => put(`jeecg-boot/member/video/edit`,params);
//删除视频
//export const deleteVideo = (params) => deletefn(`jeecg-boot/member/video/delete?id=`+params);
